<template>
    <div>
      <!--头部-->
      <div class="top">
        <div class="top-left">
          <img @click="goback()" src="../../../static/bmqd/BMQD-1.png" alt="">
        </div>
        <span>{{title}}</span>
        <router-link to="/address">
          <p>完成</p>
        </router-link>
      </div>

      <p class="p">请使用您的真实姓名，否则订单将无法发出</p>

      <input class="inp1" type="text" placeholder="请填写真实姓名"><br>
      <input class="inp2" type="text" placeholder="请填写手机号"><br>


      <v-distpicker></v-distpicker>




      <input class="inp3" type="text" placeholder="请填写详细地址"><br>
      <input class="inp4" type="text" placeholder="请填邮编"><br>

    </div>
</template>

<script>
  import VDistpicker from 'v-distpicker' // 城市选择器
    export default {
        name: "Adddizhi",
      data(){
        return{
          title:'添加新地址',
        }
      },
      components:{
        VDistpicker
      },
      methods:{
        goback(){
          history.go(-1);
        },
      }
    }
</script>

<style scoped>
  .top{
    width: 69rem;
    height: 3rem;
    line-height: 3rem;
    padding: 3.5rem 1.5rem;
    background: #e53e42;
    display: flex;
    justify-content: space-between;
  }
  .top span{
    display: inline-block;
    width: 30rem;
    text-align: center;
    font-size: 36px;
    color: #fff;
  }
  .top-left{
    width: 12rem;
  }

  .top p{
    width: 8rem;
    font-size: 30px;
    color: #fff;
    text-align:right;
  }
  .top img{
    width: 3rem;
    height: 3rem;
  }


  .p{
    width: 68rem;
    height: 7rem;
    line-height: 7rem;
    background: #f2f2f2;
    font-size: 24px;
    color: #e53e42;
    padding:0 2rem ;
  }
   input{
     width: 68rem;
     height: 4rem;
     padding: 3rem 2rem;
     font-size: 28px;
   }

   .inp1{
     border-top: 1px solid #ccc;
     border-bottom: 1px solid #ccc;
     margin-bottom: 2rem;
   }
  .inp2{
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
  }
  .inp3{
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
  }
  .inp4{
    border-bottom: 1px solid #ccc;
  }



</style>
